<template>
  <div>
    <p :class="{ red_s: bool }">奥利给</p>
  </div>
</template>

<script>
export default {
  data() {
    return {
      bool: true,
    };
  },
};
</script>

<style>
.red_s {
  color: red;
}
</style>